package com.jdzy.model.student.pojos;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdzy.model.common.pojos.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(description = "计划实体类")
@TableName(value = "sign_record_plan")
public class SignRecordPlan extends BaseEntity {


    @ApiModelProperty(value = "学号stuId")
    @TableField(value = "stu_id")
    private String stuId;

    @ApiModelProperty(value = "计划Id")
    @TableField(value = "plan_id")
    private Long planId;

    @ApiModelProperty(value = "签到日期")
    @TableField(value = "sign_date")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss ")
    private Date signDate;

}
